package com.scott.ch05;

import com.scott.ch05.filter.ScottTypeFilter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * 演示@ComponentScan注解的第5层心法
 */
@Configuration
@ComponentScan(value = "com.scott.ch05",useDefaultFilters=false,includeFilters ={
    @ComponentScan.Filter(type = FilterType.CUSTOM,classes={ScottTypeFilter.class})
})
public class ScottConfiguration {
}
